package com.hylink.bean;

import java.util.List;

/***
 * API返回的参数
 *
 * @author jxl
 *
 */
public class ApiBean {
    private Integer code;
    private String msg;
    private Object body;
    private List<Roottable> menu;
    private String token;
    private String note;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
    public List<Roottable> getMenu() {
        return menu;
    }

    public void setMenu(List<Roottable> menu) {
        this.menu = menu;
    }

    public Object getBody() {
        return body;
    }

    public void setBody(Object body) {
        this.body = body;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public ApiBean() {
        super();
    }

    public ApiBean(Integer code, String msg, Object body, String token,
                   String note) {
        super();
        this.code = code;
        this.msg = msg;
        this.body = body;
        this.token = token;
        this.note = note;
    }

    @Override
    public String toString() {
        return "ApiBean [code=" + code + ", msg=" + msg + ", body=" + body + ", menu=" + menu + ", token=" + token
                + ", note=" + note + "]";
    }

}
